
package net.entelijan.cobean.examples.data.literature.endpoint;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for language.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="language">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="ENGLISH"/>
 *     &lt;enumeration value="GERMAN"/>
 *     &lt;enumeration value="ITALIAN"/>
 *     &lt;enumeration value="BENGALI"/>
 *     &lt;enumeration value="FRENCH"/>
 *     &lt;enumeration value="SPANISH"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "language")
@XmlEnum
public enum Language {

    ENGLISH,
    GERMAN,
    ITALIAN,
    BENGALI,
    FRENCH,
    SPANISH;

    public String value() {
        return name();
    }

    public static Language fromValue(String v) {
        return valueOf(v);
    }

}
